home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888)))) ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888)))) SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
-
-
-
- NNNNAAAAMMMMEEEE
- smbpasswd - change a users smb password in the smbpasswd
- file.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssmmmmbbbbppppaaaasssssssswwwwdddd [ ----aaaa ] [ ----rrrr remote_machine ] [ ----UUUU remote_username
- ] [ ----DDDD DEBUGLEVEL ] [ uuuusssseeeerrrrnnnnaaaammmmeeee ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This program is part of the Samba suite.
-
- ssssmmmmbbbbppppaaaasssssssswwwwdddd allows a user to change their encrypted smb
- password which is stored in the smbpasswd file (usually kept
- in the _p_r_i_v_a_t_e directory under the _S_a_m_b_a directory
- hierarchy. Ordinary users can only run the command with no
- options. It will prompt them for their old smb password and
- then ask them for their new password twice, to ensure that
- the new password was typed correctly. No passwords will be
- echoed on the screen whilst being typed. If you have a blank
- smb password (specified by the string "NO PASSWORD" in the
- smbpasswd file) then just press the <Enter> key when asked
- for your old password.
-
- NNNNeeeewwww ffffoooorrrr 1111....9999....11118888pppp4444.... smbpasswd will now allow a user to change
- their password on a Windows NT server. To use this add the
- -_r <_r_e_m_o_t_e__m_a_c_h_i_n_e> parameter to the smbpasswd command. The
- machine name is looked up using the "name resolve order"
- parameter defined in the smb.conf [global] section. To
- change the password for a different username on a domain
- controller, add the -_U <_r_e_m_o_t_e__u_s_e_r> parameter as well. If
- this parameter is not present the current UNIX user name
- will be used as the remote user whose password you wish to
- change. Note that when changing a Windows NT password for a
- domain user, <_r_e_m_o_t_e _m_a_c_h_i_n_e> must be the name of the
- Primary domain controller.
-
- To allow users to change their passwords from "NO PASSWORD"
- in the smbpasswd file to a valid password the administrator
- must set the following parameter in the [global] section of
- the smb.conf :
-
- null passwords = true
-
- This is NNNNOOOOTTTT recommended as a general policy, it is
- recommended that new users be assigned a default password
- instead.
-
- The -_a and _u_s_e_r_n_a_m_e options can only be used by a user
- running as root.
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
-
-
-
- PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 11110000////22226666////99998888))))
-
-
-
-
-
-
- SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888)))) ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888)))) SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
-
-
-
- -_a
-
- Specifies that the username following should be added to
- the _s_m_b_p_a_s_s_w_d file, with the new password typed (type
- <Enter> for the old password). This option is ignored if
- the username following already exists in the _s_m_b_p_a_s_s_w_d
- file and it is treated like a regular change password
- command. Note that the user to be added mmmmuuuusssstttt already
- exist in the system password file (usually /etc/passwd)
- else the request to add the user will fail.
-
- _u_s_e_r_n_a_m_e
-
- You may only specify a username to the smbpasswd command
- if you are running as root. Only root should have the
- permission to modify other users smb passwords.
-
-
- IIIINNNNSSSSTTTTAAAALLLLLLLLAAAATTTTIIIIOOOONNNN
- The location of the server and its support files is a matter
- for individual system administrators. The following are thus
- suggestions only.
-
- It is recommended that the ssssmmmmbbbbppppaaaasssssssswwwwdddd program be installed in
- the /usr/local/samba/bin directory. This should be a
- directory readable by all, writeable only by root. The
- program should be executable by all. The program mmmmuuuusssstttt nnnnooootttt be
- setuid root.
-
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This man page is correct for version 1.9.18p4 of the Samba
- suite. These notes will necessarily lag behind development
- of the software, so it is possible that your version of the
- program has extensions or parameter semantics that differ
- from or are not covered by this man page. Please notify
- these to the address below for rectification.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ssssmmmmbbbbdddd(8), ssssmmmmbbbb....ccccoooonnnnffff(5)
-
-
- BBBBUUUUGGGGSSSS
-
- The ssssmmmmbbbbppppaaaasssssssswwwwdddd command is only useful if _S_a_m_b_a has been set
- up to use encrypted passwords. See the file _E_N_C_R_Y_P_T_I_O_N._t_x_t
- in the docs directory for details on how to do this.
-
-
- CCCCRRRREEEEDDDDIIIITTTTSSSS
- The original Samba software and related utilities were
- created by Andrew Tridgell (samba-bugs@samba.anu.edu.au).
-
-
-
- Page 2 (printed 10/26/98)
-
-
-
-
-
-
- SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888)))) ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888)))) SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
-
-
-
- Andrew is also the Keeper of the Source for this project.
- smbpasswd and the encrypted password file code was written
- by Jeremy Allison (samba-bugs@samba.anu.edu.au).
-
- This man page was written by Jeremy Allison. Bug reports to
- samba-bugs@samba.anu.edu.au.
-
- See ssssmmmmbbbb....ccccoooonnnnffff(5) for a full list of contributors and details
- of how to submit bug reports, comments etc.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 10/26/98)
-
-
-
-